package com.education.business.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.education.model.entity.SystemRole;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 余一
 * @since 2021-09-10
 */
public interface SystemRoleMapper extends BaseMapper<SystemRole> {
    /**
     * 根据用户id获取相应的角色集合
     * @param adminId
     * @return
     */
    List<SystemRole> getRoleListByAdminId(Integer adminId);
}
